package domain;

import java.util.ArrayList;

public class Contact {
	private String firstName;
	private String secondName;
	private String email;
	private int id;
	private Address add;
	private ArrayList<PhoneNumber> profiles;
	private ArrayList<ContactGroup> books;
	
	
	public Contact(int id, String firstName, String secondName, String email){
		this.id = id;
		this.firstName = firstName;
		this.secondName = secondName;
		this.email = email;
	}
	
	public Address getAdd() {
		return add;
	}
	public void setAdd(Address add) {
		this.add = add;
	}
	public ArrayList<PhoneNumber> getProfiles() {
		return profiles;
	}
	public void setProfiles(ArrayList<PhoneNumber> profiles) {
		this.profiles = profiles;
	}
	public ArrayList<ContactGroup> getBooks() {
		return books;
	}
	public void setBooks(ArrayList<ContactGroup> books) {
		this.books = books;
	}
	public String getFirstName() {
		return firstName;
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	public String getSecondName() {
		return secondName;
	}
	public void setSecondName(String secondName) {
		this.secondName = secondName;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	

}
